package com.oauth.model;

import java.util.ArrayList;
import java.util.List;

import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;

public class AuthUrl {
	public final static int METHOD_POST_HEADER = 1;
	public final static int METHOD_POST_BODY = 2;
	public final static int METHOD_POST_QUERY = 3;
	public String url;
	public int method_type;
	protected List<NameValuePair> params;

	public AuthUrl() {
		this.params = new ArrayList<NameValuePair>();
	}
	
	public void addParams(String name, String value){
		params.add(new BasicNameValuePair(name, value));
	}
	public List<NameValuePair> getParams(){
		return params;
	}
}
